CompassOrientation

enum CompassOrientation : ProtocolMessageEnum

Protobuf enum meshtastic.Config.DisplayConfig.CompassOrientation

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard

Don't rotate the compass, but invert the result.
DEGREES_0_INVERTED = 4;
Link copied to clipboard

The compass and the display are in the same orientation.
DEGREES_0 = 0;
Link copied to clipboard

Rotate the compass by 180 degrees and invert.
DEGREES_180_INVERTED = 6;
Link copied to clipboard

Rotate the compass by 180 degrees.
DEGREES_180 = 2;
Link copied to clipboard

Rotate the compass by 270 degrees and invert.
DEGREES_270_INVERTED = 7;
Link copied to clipboard

Rotate the compass by 270 degrees.
DEGREES_270 = 3;
Link copied to clipboard

Rotate the compass by 90 degrees and invert.
DEGREES_90_INVERTED = 5;
Link copied to clipboard

Rotate the compass by 90 degrees.
DEGREES_90 = 1;

Functions

Link copied to clipboard
open fun getDescriptor(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getDescriptorForType(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getNumber(): Int
Link copied to clipboard
fun getValueDescriptor(): Descriptors.EnumValueDescriptor
Link copied to clipboard
Link copied to clipboard
open fun valueOf(desc: Descriptors.EnumValueDescriptor): ConfigProtos.Config.DisplayConfig.CompassOrientation

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.